package com.auxgroup.smarthome.repo;

import com.auxgroup.smarthome.constant.cache.CachedConsant;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/9/14 8:48.
 */
@Repository
public class DeviceShareRelieveRepo extends BaseRepo {

    public static final String DEVICE_SHARE_PREFIX = CachedConsant.DEVICE_SHARE_CACHED_PREFIX+"*"; // 缓存前缀;

    public DeviceShareRelieveRepo(@Value("${deviceShareRelieveScheduleJob.shardingTotalCount}") int shardingCount) {
        super(DEVICE_SHARE_PREFIX, shardingCount);
    }

}
